import java.util.Date;
import java.util.Scanner;

/**
 * @author zhoujunjie
 * @desc TODO
 * @date 2025/4/9
 */
public class Test01 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入订票日期");
        Double a = sc.nextDouble();
        System.out.println("请输入票价");
        Double b = sc.nextDouble();
        if(a>=1.01&&a<=1.03){
            System.out.println("当天的票价为"+b+"元");
        } else if (a>=5.01&&a<=5.03) {
            System.out.println("当天的票价为"+b+"元");
        } else if (a>=10.01&&a<=10.07) {
            System.out.println("当天的票价为"+b+"元");
        } else {
            System.out.println("当天的票价为"+b*0.8+"元");
        }
    }
}
